package com.emm.yixun.report.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.emm.yixun.report.mapper.TransactionListingsMapper;
import com.emm.yixun.report.domain.TransactionListings;
import com.emm.yixun.report.domain.dto.TransactionListingsDto;
import com.emm.yixun.report.service.ITransactionListingsService;
import com.baomidou.framework.service.impl.SuperServiceImpl;

/**
 *
 * TransactionListings 表数据服务层接口实现类
 *
 */
@Service
public class TransactionListingsServiceImpl extends SuperServiceImpl<TransactionListingsMapper, TransactionListings> implements ITransactionListingsService {
	@Autowired
	private TransactionListingsMapper transactionListingsMapper;
	
	/**
	 * 城市房源分析【面积段】
	 * @param merchantId
	 * @param cityId
	 * @return
	 */
	@Override
	public List<TransactionListingsDto> selectTransactionListings(long merchantId, long cityId) {
		return transactionListingsMapper.selectTransactionListings(merchantId, cityId);
	}

}